package br.com.octobite.cashkeeper;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import br.com.octobite.cashkeeper.model.Gasto;

public class ListaGastosActivity extends Activity {

	private Gasto[] gastos = {};
		
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.lista_gastos);
		
		String[] dataFake = {"Gasto 1", "gasto 2", "Gasto 3"};
				
		int layout = android.R.layout.simple_list_item_1;
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, layout , dataFake);
		
		ListView listaGastos = (ListView) findViewById(R.id.listaGastos);
		
		listaGastos.setAdapter(adapter);
	
	}

}
